#!/usr/bin/env bash

data_root="/home/zhulingfeng/Projects/cocoapi/PythonAPI"
data_dir="test"
#image_dir=$Detectron2/demo/images/*
image_dir=$data_root/$data_dir

python $Detectron2/demo/demo.py \
  --config-file faster_rcnn_mobilenetv2_3x.yaml \
  --input $image_dir/*.jpg \
  --opts MODEL.DEVICE cpu \
  MODEL.WEIGHTS output/model_0000019.pth

  # --input input1.jpg input2.jpg \
#  --webcam \
